class Rain:
    """
    描述小雨的对象
    """
    _rain_id = None  # 每场雨的编号
    _rain_date = None  # 下雨的日期

    def __init__(self, rain_id, rain_date):
        self._rain_id = rain_id
        self._rain_date = rain_date

    @property
    def rain_id(self):
        return self._rain_id

    def get_rain_date(self):
        return self._rain_date

    def set_rain_date(self, rain_date):
        self._rain_date = rain_date
